package com.lantosec.hmrp.modules.category.mapper;

import com.lantosec.hmrp.modules.category.entity.AssetsCheckDetailed;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 盘点计划明细 Mapper 接口
 * </p>
 *
 * @author AutoCode
 * @since 2020-04-01
 */
public interface AssetsCheckDetailedMapper extends BaseMapper<AssetsCheckDetailed> {

    Integer assetsCount(@Param("areaId") String areaId, @Param("categoryList") String categoryList);

    Integer assetsDeptCount(@Param("deptId")String deptId, @Param("categoryList")String categoryList);

    String categoryList(String planId);

    Integer queryAreaCount(@Param("planId")String planId, @Param("areaId")String areaId, @Param("categoryList")String categoryList);

    Integer queryDeptCount(@Param("planId")String planId, @Param("deptId")String deptId, @Param("categoryList")String categoryList);
}
